<template>
  <div id="app">
    <router-view></router-view>
  </div>
  <!-- <el-button @click="test">切换</el-button>
  {{ $t('rpm.SCHEDULED') }}---{{ $t('rpm.RELEASE') }} -->
</template>

<script setup>

import { useI18n } from 'vue-i18n';

const { locale, tm } = useI18n();

console.log(tm('fm.message.copySuccess'));

const test = () => {
  locale.value === 'en' ? locale.value = 'zh-cn' : locale.value = 'en';
}

</script>

<style lang="scss">
// 引入初始化样式
@import '@/style/main.scss';
@import '@/style/base.scss';
#app {
  position: relative;
  background: #eee;
  height: 100vh;
  overflow: hidden;
}
</style>
